 package com.xiaochong.tir.common.data.vo;

 import io.swagger.annotations.ApiModelProperty;

 /**
  * CMC 数据的K线展示
  * @author daizhiqing
  * @time 2018-06-26 15:54
  *
  */
 public class ApiKLineCmcData {

     /** 开盘价 */
     @ApiModelProperty(value = "开盘价")
     private String openPrice;

     /** 最高价 */
     @ApiModelProperty(value = "最高价")
     private String highestPrice;

     /** 最低价 */
     @ApiModelProperty(value = "最低价")
     private String lowestPrice;

     /** 收盘价 */
     @ApiModelProperty(value = "收盘价")
     private String closePrice;

     /** date */
     @ApiModelProperty(value = "K线时间")
     private String dateTime;
     @ApiModelProperty(value = "货币Id")
     private String cmcId;

     @ApiModelProperty(value = "数量")
     private String volume;

     public String getVolume() {
         return volume;
     }

     public void setVolume(String volume) {
         this.volume = volume;
     }



     public String getCmcId() {
         return cmcId;
     }

     public void setCmcId(String cmcId) {
         this.cmcId = cmcId;
     }

     public String getDateTime() {
         return dateTime;
     }

     public void setDateTime(String dateTime) {
         this.dateTime = dateTime;
     }

     /**
      * 获取 开盘价 的值
      * @return String
      */
     public String getOpenPrice() {
         return openPrice;
     }

     /**
      * 设置开盘价 的值
      */
     public ApiKLineCmcData setOpenPrice(String openPrice) {
         this.openPrice = openPrice;
         return this;
     }
  /**
      * 获取 最高价 的值
      * @return String
      */
     public String getHighestPrice() {
         return highestPrice;
     }

     /**
      * 设置最高价 的值
      */
     public ApiKLineCmcData setHighestPrice(String highestPrice) {
         this.highestPrice = highestPrice;
         return this;
     }
  /**
      * 获取 最低价 的值
      * @return String
      */
     public String getLowestPrice() {
         return lowestPrice;
     }

     /**
      * 设置最低价 的值
      */
     public ApiKLineCmcData setLowestPrice(String lowestPrice) {
         this.lowestPrice = lowestPrice;
         return this;
     }
  /**
      * 获取 收盘价 的值
      * @return String
      */
     public String getClosePrice() {
         return closePrice;
     }

     /**
      * 设置收盘价 的值
      */
     public ApiKLineCmcData setClosePrice(String closePrice) {
         this.closePrice = closePrice;
         return this;
     }

     @Override
     public String toString() {
         final StringBuilder sb = new StringBuilder("{");
         sb.append("\"openPrice\":\"")
                 .append(openPrice).append('\"');
         sb.append(",\"highestPrice\":\"")
                 .append(highestPrice).append('\"');
         sb.append(",\"lowestPrice\":\"")
                 .append(lowestPrice).append('\"');
         sb.append(",\"closePrice\":\"")
                 .append(closePrice).append('\"');
         sb.append(",\"dateTime\":\"")
                 .append(dateTime).append('\"');
         sb.append(",\"cmcId\":\"")
                 .append(cmcId).append('\"');
         sb.append(",\"volume\":\"")
                 .append(volume).append('\"');
         sb.append('}');
         return sb.toString();
     }
 }